/**
 * 违规网站模块 Api
 * @type {SlogIllegalSiteApi}
 */
const slogIllegalSiteApi = new class SlogIllegalSiteApi extends BaseApi {
    constructor() {
        super('/api/slogIllegalSite')
    }

    async reportData(data) {
        return (await rxajax.post(super.using(`/report-data`), data, {type: 'json'})).data;
    }

    async handle(data) {
        return (await rxajax.post(super.using('/handle'), data, {type: 'json'})).data;
    }

    async cancelHandle(data) {
        return (await rxajax.post(super.using('/cancel-handle'), data, {type: 'json'})).data;
    }

    async notReportTotal() {
        return (await rxajax.get(this.using('/not-report-total'))).data.data
    }

}